﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<Domain.MainModule.Entities.BillingInformation>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
    Billing Information Details
</asp:Content>

<asp:Content ID="Content3" ContentPlaceHolderID="SubHeaderContent" runat="server">
    <%: Html.DisplayForModel("BillingInformationBrief") %>
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <% if (Model != null)
       { %>
    <%: Html.DisplayForModel() %>
    <% }
       else
       { %>
    No existe la billing information solicitada.
    <% } %>
    <div class="container-button" style="text-align:right">
    <a href="<%= Request.UrlReferrer %>">Back</a>
    <a href="<%: Url.Action("Edit", (object) new { billingInformationId = Model.BillingInformationId }) %>">Edit</a>
    <a href="#" onclick="document.Delete.submit();">Delete</a>                
    <% using (Html.BeginForm("Delete", "BillingInformation", new { billingInformationId = Model.BillingInformationId }, FormMethod.Post, new { name = "Delete" }))
        { %>
         <%: Html.HttpMethodOverride(HttpVerbs.Delete) %>
    <%  } %>    
    </div>
 </asp:Content>
